* {
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
}

a {
    text-decoration: none;
}

$w:100%;
$w2:1000px;
$m:0 auto;
$oh:hidden;
$p:position;
$a:absolute;
$r:relative;
$f:fixed;
.cart {
    width: 1190px;
    margin: 20px auto;
    padding: 10px 0 0 0;
    overflow: hidden;
    .cart_step1 {
        background: url(../../img/style_img/cart_step.jpg) no-repeat;
        width: 700px;
        height: 47px;
        float: right;
        _display: inline;
        margin: 0px 0px 30px 0px;
    }
    .clearboth {
        height: 1px;
        clear: both;
        float: none;
        display: block;
        width: 100%;
    }
    #cart_body {
        #{$p}: $r;
    }
    .cart_goods {
        width: 1190px;
        height: 40px;
        margin: $m;
        ul {
            width: 1190px;
            height: 40px;
            background: #ebeaea;
            li {
                text-align: center;
                float: left;
                height: 40px;
                line-height: 40px;
                font-size: 14px;
                font-weight: normal;
            }
            .cart_tcheck {
                text-align: left;
                padding-left: 12px;
            }
        }
    }
    .blanks {
        text-align: center;
        margin: $m;
        span {
            font-size: 18px;
            display: block;
        }
        .blanks1 {
            padding-top: 70px;
        }
        .blanks2 {
            padding-top: 20px;
            a {
                display: block;
                width: 98px;
                height: 28px;
                background: #d00000;
                color: #fff;
                border: 1px solid #d00000;
                margin: 0 auto;
                font-size: 14px;
                line-height: 28px;
                text-align: center;
                border-radius: 2px;
            }
        }
    }
    #cartTable {
        margin: $m;
        width: 1190px;
        background: #fff;
        img {
            width: 95px;
            height: 95px;
        }
        td{
            text-align: center;
            font-size:12px;
            color:#000;
        }
        a{
            color:#000;
        }
    }
}

.goods_list_box {
    width: $w;
    height: 336px;
    margin-bottom: 20px;
    .goods_list {
        width: 899px;
        height: 336px;
        margin: $m;
        .goods_list_title {
            height: 30px;
            width: 899px;
            line-height: 30px;
            color: #D00000;
            font-size: 14px;
            font-weight: bold;
            text-align: left;
            #{$p}: $r;
            .products_btn {
                #{$p}: $a;
                right: 0px;
                top: 5px;
                li {
                    cursor: pointer;
                    float: left;
                    margin-right: 20px;
                    width: 20px;
                    height: 20px;
                    background: #C9C9C9;
                    border-radius: 50%;
                }
                li.active {
                    background: #D00000;
                }
            }
        }
        .products_list {
            width: 899px;
            height: 306px;
            border: 1px solid #C9C9C9;
            overflow: $oh;
            #{$p}: $r;
            .products {
                #{$p}: $a;
                li {
                    text-align: center;
                    width: 224px;
                    height: 306px;
                    float: left;
                    border-right: 1px dashed #C9C9C9;
                    a {
                        display: block;
                    }
                    #product_img {
                        width: 224px;
                        height: 206px;
                        text-align: center;
                        span {
                            width: 0px;
                            height: 100%;
                        }
                        img {
                            width: 200px;
                            height: 200px;
                        }
                        span,
                        img {
                            display: inline-block;
                            vertical-align: middle;
                        }
                    }
                    #product_title {
                        width: 204px;
                        height: 35px;
                        padding: 0px 10px;
                        font-size: 12px;
                        color: #000;
                        text-align: left;
                        overflow: hidden;
                    }
                    #product_price {
                        width: 224px;
                        height: 25px;
                        color: #D00000;
                        text-align: center;
                        line-height: 25px;
                    }
                    button {
                        width: 125px;
                        height: 30px;
                        border: 1px solid #C9C9C9;
                        background: #fff;
                        text-align: center;
                        line-height: 30px;
                        font-size: 12px;
                        cursor: pointer;
                        outline: none;
                    }
                }
                li:nth-of-type(4n) {
                    border-right: none;
                }
            }
            #left,
            #right {
                width: 40px;
                height: 100px;
                background: #C9C9C9;
                font-size: 40px;
                color: #fff;
                #{$p}: $a;
                top: 50%;
                margin-top: -50px;
                border: none;
                outline: none;
                z-index: 99997;
                display: none;
            }
            #left {
                left: 10px;
            }
            #right {
                right: 10px;
            }
        }
    }
}